package com.hnust.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * @Author: Yjx
 * @Data: 2021/10/27 21:39
 * @Version 1.0
 * @Project_Name: teacherSystemBackEnd-master
 * @describe
 */
public interface ChapterService {
    public Map<String,Object> readChapter(MultipartFile file, String courseId) throws Exception;

    /*
     * @Author Tonited
     * @Description //TODO 读取上传文件的工具类
     * @Date 9:31 2020/10/31
     * @Param [file]
     * @return java.lang.String
     **/
    public String upload(MultipartFile file) throws Exception;


}
